home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / sderive.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  675 b   |  22 lines

  1. .TH SDERIVE
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. SDERIVE
  5.  
  6.  
  7.  
  8.  SurfaceType SDERIVE( SurfaceType Srf, NumericType Dir )
  9.  
  10. Returns a vector field surface representing the differentiated surface
  11. in the given direction (ROW or COL). Evaluation of the returned surface at
  12. a given parameter value will return a vector tangent to Srf in
  13. Dir at that parameter value.
  14.  
  15.  DuSrf = SDERIVE( Srf, ROW );
  16.  DvSrf = SDERIVE( Srf, COL );
  17.  Normal = coerce( seval( DuSrf, 0.5, 0.5 ), VECTOR_TYPE ) ^
  18.           coerce( seval( DvSrf, 0.5, 0.5 ), VECTOR_TYPE );
  19.  
  20. computes the two partial derivatives of the surface Srf and computes
  21. its normal as their cross product, at the parametric location (0.5, 0.5).
  22.